package com.karry.yl.service.system.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.karry.commons.base.impl.SuperServiceImpl;
import com.karry.yl.dao.system.AdviceMapper;
import com.karry.yl.domain.system.Advice;
import com.karry.yl.service.system.AdviceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


@Service
public class AdviceServiceImpl extends SuperServiceImpl<AdviceMapper, Advice> implements AdviceService {

    @Autowired
    private AdviceMapper adviceMapper;



    @Override
    public Page<Advice> selectAdvice(Page<Advice> page, Long orgId) {
        return page.setRecords(baseMapper.selectAdvice(page, orgId));
    }
}
